package com.sky.mapper;

import com.sky.dto.DishDTO;
import com.sky.entity.DishFlavor;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DishFlavorMapper {


    void dishFlavorList(List<DishFlavor> dishFlavors);

    void deletedishFlavor(List<Long> ids);

    List<DishFlavor> getDishById(Integer id);

   @Select("select * from dish")
    List<DishVO> getDishList();
}
